Function: ht->plist
ht->plist is a byte-compiled function defined in ht.el.
Signature
(ht->plist TABLE)
Documentation
Return a flat list '(key1 value1 key2 value2...) from TABLE.
Note that hash tables are unordered, so this cannot be an exact
inverse of ht<-plist. The following is not guaranteed:
(let ((data '(a b c d)))
(equalp data
(ht->plist (ht<-plist data))))
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/ht-20230703.558/ht.el
(defun ht->plist (table)
"Return a flat list \\='(key1 value1 key2 value2...) from TABLE.
Note that hash tables are unordered, so this cannot be an exact
inverse of `ht<-plist'. The following is not guaranteed:
\(let ((data \\='(a b c d)))
(equalp data
(ht->plist (ht<-plist data))))"
(declare (side-effect-free t))
(apply 'append (ht-items table)))